#include <zenilib.h>
#include "TitleState.h"
#include "Globals.h"

using namespace Zeni;

TitleState::TitleState()
{
	// Play Background Music
	get_Sound().set_BGM_looping(true);
	get_Sound().set_BGM("sounds/BackgroundMusic.ogg");
	get_Sound().play_BGM();
}

TitleState::~TitleState()
{
}

void TitleState::render()
{
	render_image("TitleScreen",
                 Point2f(0.0f, 0.0f),
                 Point2f(screenWidth, screenHeight));
	m_play_button.render();
	m_instruct_button.render();
	m_editor_button.render();
	m_quit_button.render();
}
